package com.fudan.adse.domain.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @desc mbg自动生成ticket_order表实体类
 * @date 2022-11-25 06:30
 */
public class TicketOrder implements Serializable {
    private Integer id;

    /**
     * 订单编号
     *
     * @mbg.generated
     */
    private String uuid;

    private String username;

    /**
     * 排片 id
     *
     * @mbg.generated
     */
    private Integer rowPieceId;

    /**
     * 座位号，逗号分隔
     *
     * @mbg.generated
     */
    private String seats;

    /**
     * 票价 * seats 个数 * 折扣
     *
     * @mbg.generated
     */
    private BigDecimal costs;

    /**
     * 折扣
     *
     * @mbg.generated
     */
    private Float discount;

    /**
     * 联系电话
     *
     * @mbg.generated
     */
    private String phone;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 支付时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 支付状态
     *
     * @mbg.generated
     */
    private String status;

    /**
     * 电影票状态
     *
     * @mbg.generated
     */
    private String checkStatus;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getRowPieceId() {
        return rowPieceId;
    }

    public void setRowPieceId(Integer rowPieceId) {
        this.rowPieceId = rowPieceId;
    }

    public String getSeats() {
        return seats;
    }

    public void setSeats(String seats) {
        this.seats = seats;
    }

    public BigDecimal getCosts() {
        return costs;
    }

    public void setCosts(BigDecimal costs) {
        this.costs = costs;
    }

    public Float getDiscount() {
        return discount;
    }

    public void setDiscount(Float discount) {
        this.discount = discount;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uuid=").append(uuid);
        sb.append(", username=").append(username);
        sb.append(", rowPieceId=").append(rowPieceId);
        sb.append(", seats=").append(seats);
        sb.append(", costs=").append(costs);
        sb.append(", discount=").append(discount);
        sb.append(", phone=").append(phone);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", status=").append(status);
        sb.append(", checkStatus=").append(checkStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}